<!doctype html>
<!--[if lt IE 7 ]> <html lang="ja" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html lang="ja" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html lang="ja" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="ja" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="ja" class="no-js"> <!--<![endif]-->
<head>
	<meta charset="UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

	<title>manipulation</title>
	<meta name="description" content="" />
	<meta name="author" content="Y.Nishimura@Office L / nishimuray@gmail.com" />

	<meta name="viewport" content="width=device-width, initial-scale=1.0" />

	<link rel="shortcut icon" href="/favicon.ico" />
	<link rel="apple-touch-icon" href="/apple-touch-icon.png" />

	<link rel="stylesheet" href="css/style.css?v=1" />

	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
	<script type="text/javascript" src="js/modernizr.js"></script>
	<script>!window.jQuery && document.write('<script src="js/jquery-1.6.1.js"><\/script>')</script>
	<script type="text/javascript" src="js/script.js"></script>
</head>
<body>

<span id="s1">これはs1</span>
<hr />
<span id="s2">これはs2</span>
<hr />
<span id="s3">これはs3</span>
<hr />
<span id="s4">これはs4</span>

<hr />
<ul>
<li>no.001</li>
<li>no.002</li>
<li>no.003</li>
</ul>

<ul id="ul1">
<li>no.004</li>
<li>no.005</li>
<li>no.006</li>
</ul>

<script type="text/javascript">
<!-- 
$(function() {

	$("#s1").append("追加の文字列");
	$("#s2").appendTo("#s3");
	
	$("li").empty();	// li の小要素のテキストノードが消える（li 自体は消えない）
	$("#ul1").empty();	// #ul1 の小要素の li が消える（表示されない）
});
// -->
</script>

</body>
</html>
